package org.example.springboot3.service;

import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jws;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface JwtUtilsService {
    String createToken(Map<String, Object> claims);//创建token
    boolean verifyToken(String token);//验证token
    Jws<Claims> parseToken(String token);//解析token
}